using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class AddItemCampaignActivityRequest : OrganizationRequest
	{
		public Guid CampaignActivityId
		{
			get
			{
				if (base.Parameters.Contains("CampaignActivityId"))
				{
					return (Guid)base.Parameters["CampaignActivityId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["CampaignActivityId"] = value;
			}
		}
		public Guid ItemId
		{
			get
			{
				if (base.Parameters.Contains("ItemId"))
				{
					return (Guid)base.Parameters["ItemId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["ItemId"] = value;
			}
		}
		public string EntityName
		{
			get
			{
				if (base.Parameters.Contains("EntityName"))
				{
					return (string)base.Parameters["EntityName"];
				}
				return null;
			}
			set
			{
				base.Parameters["EntityName"] = value;
			}
		}
		public AddItemCampaignActivityRequest()
		{
			base.RequestName = "AddItemCampaignActivity";
			this.CampaignActivityId = default(Guid);
			this.ItemId = default(Guid);
			this.EntityName = null;
		}
	}
}